package com.bilibili.gouzaoqi;

public class student {
    String name;
    double Chinese;
    double Math;
    public void printall(){
        System.out.println(name+"的总成绩是:"+(Chinese+Math));
    }
    public void printofen(){
        System.out.println(name+"的平均成绩是:"+(Chinese+Math)/2);
    }
}
